package com.dnjn.mes.biz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dnjn.mes.biz.domain.MesExceptPlanXref;
import com.dnjn.mes.biz.domain.MesResolvePlan;
import com.dnjn.mes.biz.mapper.MesExceptPlanXrefMapper;
import com.dnjn.mes.biz.service.IMesExceptPlanXrefService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 异常及解决方案关联表 服务实现类
 * </p>
 *
 * @author Amber
 * @since 2023-07-26
 */
@Service
public class MesExceptPlanXrefServiceImpl extends ServiceImpl<MesExceptPlanXrefMapper, MesExceptPlanXref> implements IMesExceptPlanXrefService {

    @Override
    public void removeByPlanId(Long planId) {
        baseMapper.removeByPlanId(planId);
    }

    @Override
    public List<MesResolvePlan> getPlanListByExceptId(Long exceptId) {
        return baseMapper.getPlanListByExceptId(exceptId);
    }
}
